package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.LeafSegment;

import java.util.List;
import java.util.Map;

/**
 * @description: TODO
 * @Author: Zhuzhi
 * @Date: 2020/12/12 下午11:48
 */
public interface LeafSegmentMapper {
    /**
     * 查询序列
     *
     * @param param 参数
     * @return
     */
    public List<LeafSegment> selectLeafSegmentList(Map<String, String> param);

    /**
     * 查询序列
     *
     * @param namespace
     * @return
     */
    public LeafSegment selectLeafSegment(String namespace);

    /**
     * 新增
     *
     * @param leafSegment
     * @return
     */
    public int insertLeafSegment(LeafSegment leafSegment);
}
